package com.john.utils.enums;

public enum PageEnums {
    P20(20,"每页20条数据"),
    P50(50,"每页50条数据"),
    P100(100,"每页100条数据"),
    P1000(1000,"每页1000条数据"),
    P10000(10000,"每页10000条数据"),
    PMAXPAGESIZE(1000,"最大数据条数"),
    PMINPAGESIZE(20,"最小数据条数"),
    ;
    private Integer code;
    private String msg;

    private PageEnums(Integer code, String msg){
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode(){
        return code;
    }

    public String getMsg(){
        return msg;
    }
}
